//
//  ZJAlertView.h
//  ZJTY
//
//  Created by icholab on 2022/10/10.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZJAlertView : NSObject
+ (void)showAlertWithTitle:(nullable NSString *)title message:(nullable NSString *)message cancel:(nullable NSString *)cancel affirm:(nullable NSString *)affirm WithController:(UIViewController *)viewController WithBlock:(nullable void (^)(NSInteger index))block;

+ (void)showAlertWithTitle:(nullable NSString *)title message:(nullable NSString *)message cancel:(nullable NSString *)cancel affirm:(nullable NSString *)affirm textAlignment:(NSTextAlignment)textAlignment WithController:(UIViewController *)viewController WithBlock:(nullable void (^)(NSInteger index))block;

+ (void)showSheetWithTitle:(nullable NSString *)title message:(nullable NSString *)message cancel:(nullable NSString *)cancel actionStrs:(NSArray *)actionStrs WithController:(UIViewController *)viewController WithBlock:(nullable void (^)(NSInteger index,NSString *title))block;
@end

NS_ASSUME_NONNULL_END
